package com.wonders.frame.common.Enum;

public enum AddUserCodeEnum {
    SUCCESS(0, "新建成功！"),
    ACCOUNT_ALREADY_EXIST(1, "账号已存在！");

    private Integer code;
    private String msg;

    AddUserCodeEnum(Integer code, String msg){
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode(){
        return this.code;
    }
    public String getMsg(){
        return this.msg;
    }
}
